package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/*
Springboot快速入门详细教程
https://blog.csdn.net/fengtao0821/article/details/106563261

SpringBoot 1 SpringBoot 简介 1.1 SpringBoot 快速入门
https://blog.csdn.net/weixin_44226181/article/details/127400318?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EAD_ESQUERY%7Eyljh-1-127400318-blog-106563261.pc_relevant_3mothn_strategy_and_data_recovery&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EAD_ESQUERY%7Eyljh-1-127400318-blog-106563261.pc_relevant_3mothn_strategy_and_data_recovery&utm_relevant_index=2


SpringBoot Maven编译打包
https://blog.csdn.net/weixin_45698637/article/details/123452248

使用 java  -jar 命令执行生成的jar包时，出现 xxxxx-0.0.1-SNAPSHOT.jar中没有主清单属性 的情况
https://blog.csdn.net/IT_Boy_/article/details/110144367

java spring启动和终止_springBoot jar启动以停止脚本参数详解
https://blog.csdn.net/weixin_33587161/article/details/114207580?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-114207580-blog-120420985.pc_relevant_multi_platform_whitelistv3&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-114207580-blog-120420985.pc_relevant_multi_platform_whitelistv3&utm_relevant_index=2



 mysql-connector-java详解
 https://blog.csdn.net/keyboard_/article/details/114337739


 在IDEA创建文件模板——以创建MyBatis的mapper.xml文件模板为例
 https://blog.csdn.net/weixin_46281472/article/details/126035324

 IDEA项目创建Mapper的xml文件的方法
 https://blog.csdn.net/qq_31960623/article/details/116033154

 SpringBoot整合Mybatis超详细流程
 https://www.cnblogs.com/chenggan/p/16008226.html

 mybatis  官网入门
 https://mybatis.org/mybatis-3/zh/getting-started.html

 */

@RestController

//或者下面两个一起


//@Controller
//@ResponseBody

@SpringBootApplication
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

    /*
          https://blog.csdn.net/a66666_/article/details/107463711

          上面添加 @RestController 或者 @Controller @ResponseBody

          @RestController效果一样的@Controller加 @ResponseBody

       浏览器 打开 http://localhost:8001/hello 显示返回内容  端口需要查看 application.yml 里的配置
     */

//    @GetMapping("/hello")
//    public String hello() {
//        return "你好，spring boot";
//    }
}
